package edu.sctu.zhoumengxue.day201505.day20150526;

/**
 * Created by user12 on 2015/5/26.
 */
public class Main {
    public static void main(String[] args) {

        A a = new A();
        A a1 = new B();
        B b = new B();
        C c = new C();

        System.out.println(a.show(b));
        System.out.println(a.show(c));
        System.out.println(b.show(a));
        System.out.println(a1.show(a));
        System.out.println(a1.show(c));
        System.out.println(a1.show(b));



    }
}
